package com.csii.activiti.server.core.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
@ApiModel("已办")
public class ActFlowDone {
    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("节点名称")
    private String name;
    @ApiModelProperty("所属流程")
    private String processName;
    @ApiModelProperty("流程发起人")
    private String applyer;
    @ApiModelProperty("耗时")
    private Long elapsedTime ;
    @ApiModelProperty("审批操作")
    private String approvalOperation;
//    @ApiModelProperty("审批意见")
//    private String approvalOpinion;
    @ApiModelProperty("创建时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty("图标")
    private String iconType;
    @ApiModelProperty("流程部署ID")
    private String deploymentId;
    @ApiModelProperty("流程实例ID")
    private String processInstanceId;
    @ApiModelProperty("当前审批人列表")
    private List<String> currentApprovalUserList;
    @ApiModelProperty("流程状态")
    private String status;
    @ApiModelProperty("表单数据")
    private Map<String,Object> formData;
    @ApiModelProperty("节点定义ID")
    private String nodeId;
    @ApiModelProperty("摘要")
    private String summary;
}
